from selenium import webdriver
import time

driver = webdriver.Chrome()
driver.get('https://www.12306.cn/index/')

data = driver.page_source
print(data)

time.sleep(5)
driver.quit()
